<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>打砖块</title>
	<link rel="stylesheet" href="index.css" />
</head>
<body>
	<div class="wrap">
		<div class="topwrap">
			<!--顶部砖块区域-->
		</div>
		<div id="bat">
			<!--球拍-->
		</div>
		<div id="ball">
			<!--球-->
		</div>
	</div>
	<script type="text/javascript">
		//全局变量
		var wrap=document.getElementsByClassName('topwrap')[0];
		var box=document.getElementsByClassName('wrap')[0];
	</script>
	<script type="text/javascript" src="class/util.js"></script>
	<script type="text/javascript" src="class/bat.js"></script>
	<script type="text/javascript" src="class/ball.js"></script>
	<script type="text/javascript" src="class/block.js"></script>
	<script type="text/javascript" src="index.js"></script>
</body>
</html>